package com.domian.news;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.domian.news.utils.ParamName;

/**
 * Created by xianh on 2016-06-19.
 */
public class BloggerFragment extends Fragment{
    //private static final String ARG_PARAM1 = "tabTitle";
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.blogger_fragment, container, false);
        return  view;
    }

    public static BloggerFragment newInstance(String param) {
        BloggerFragment fragment = new BloggerFragment();
        Bundle bundle = new Bundle();
        bundle.putString(ParamName.ARG_PARAM1, param);
        fragment.setArguments(bundle);
        return fragment;
    }
}
